#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main(int argc,char *argv[])
{
  if(argc != 2)
  {
    printf("can not execute!\n");
    exit(1);
  }

  //MY_105_VAL :目前尚不存在！
  printf("获取环境变量：MY_105_VAL：%s\n",getenv("MY_105_VAL"));

  if(strcmp(argv[1],"-a") == 0)
  {
    printf("hello a!\n");
  }
  else if(strcmp(argv[1],"-l") == 0)
  {
    printf("hello l\n");
  }
  else if(strcmp(argv[1],"-i") == 0)
  {
    printf("hello i!\n");
  }
  else
  {
    printf("default!\n");
  }
  
  return 0;
}
